//
//  StadySwift.swift
//  Video
//
//  Created by lvfeijun on 2024/5/8.
//

import Foundation
import SwiftUI

struct StadySwiftView : View{
    
    
    
    
    var body: some View{
        return List(1...20, id: \.self) { index in
            // 添加跳转实现
            NavigationLink(
                destination: Text("Item #\(index) Details"),
                label: {
                    Text("Item #\(index)")
                        .font(.system(size: 20, weight: .bold, design: .rounded))
                })
        }
    }

}

struct StadySwiftView_Previews: PreviewProvider {
    static var previews: some View {
        StadySwiftView()
    }
}
